Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Connection status #81

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Connection status #81

wants to merge 4 commits into from

Conversation

Erf-
Copy link

@Erf- Erf- commented Aug 11, 2015

Hi Rocky. I decided to close the previous request #80 to avoid spamming your notifications box. I finally completed the issue, unfortunately, without your comments on the first commit. I hope it would fulfill your expectations.

Add sudo args to terminal calls.
	modified :         tests/test_parsing.py
	modified :         tests/test_scan.py
	modified :         tests/test_schemes.py
	removed :        wifi/dummydata.py
	modified :         wifi/scheme.py

Pull request fix #1.
	modifié :         tests/test_scan.py
	modifié :         tests/test_schemes.py

Pull request fix #2.
	modifié:         tests/test_scan.py
	modifié:         tests/test_schemes.py

Pull request fix rockymeza#3.
	modifié:         setup.py
Add 'mock' to the requires.

Pull request fix rockymeza#4.
	modifié:         .travis.yml
Demand for latest update of setuptools when installing.

Pull request fix rockymeza#5.
Improve code readability.

Add Travis to my own repository.

Restore file permissions.

Pull request fixes rebase.

Rebase of the pull request fixes in order to clear the code and to solve build issues.
	modified :         wifi/scheme.py
	modified :         wifi/utils.py
Added a running config file where current interface, scheme et connection status are written.
The running config file could be extended for other miscellaneous properties.
Added functions in utils to parametrize config items and access their values.
	modified :         tests/test_schemes.py
	modified :         tests/test_utils.py
	modified :         wifi/scheme.py
	modified :         wifi/utils.py
Added running config file automatically created.
Running config file contains current scheme and interface information.
Still does not verfiy the connection state.
Added MyStringIO to extend StringIO class in tests.
@Erf- Erf- force-pushed the connection-status branch 6 times, most recently from 65b48b2 to c534deb Compare August 12, 2015 16:58
	modified         tests/test_utils.py
	modified:         wifi/scheme.py
	modified:         wifi/utils.py
Check connection status by verifying the output of iwconfig command.

Part 2.
@rikoz
Copy link

rikoz commented Sep 17, 2017

@Erf- please I need help gaining root permissions to scan, save and activate schemes....... Also my sheme.save() saves no scheme therefore I experience this:
screenshot from 2017-09-17 20-08-19

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants